package org.fuys.etp.core.model.type;

/**
 * @projectName: fuys-etp-final
 * @package: org.fuys.etp.core.model.type
 * @className: EtpTaskTrendTypeEnum
 * @author: WangJing
 * @description: 任务趋势
 * @date: 2025/2/18 22:19
 * @version: 1.0
 */
public enum EtpTaskTrendTypeEnum {
    NONE(0,"无明显趋势"),
    UNKNOWN(999,"无法测量的趋势"),
    UNABLE(99,"未开启趋势检测"),
    INCREASE(1,"任务增加趋势"),
    DECREASE(-1,"任务减少趋势");

    private Integer type;
    private String desc;

    EtpTaskTrendTypeEnum(Integer type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public Integer getType() {
        return type;
    }

    public String getDesc() {
        return desc;
    }
}
